<?
	/* Default plugin - handles system tweets*/	

	// return type of service
	function puddle_getType() { return "status"; }


	// extra the service- action  line ("ike: "I tweeted on twitter.com")
	function puddle_getAction($line) {
		return "<a href='?service=puddle'><img class='icon' src='".serviceIcon("puddle")."'/></a> I blogged";
	}

	// extract and return the correct caption
	function puddle_getCaption($line) {
		$entry=explode("|",$line);
		return $entry[3];
	}

	// extract and return the correct post
	function puddle_getPost($line) {
		$entry=explode("|",$line);
		return html_entity_decode($entry[5]);
	}

	// extract and return the correct link to the item
	function puddle_getLink($line) {
		$entry=explode("|",$line);
		return null;
	}
	
	// not required for this as the messages come from the system
	function puddle_download($filename)  {	}
?>